﻿using System;
using System.Runtime.Serialization;
using System.Xml.Linq;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.ServiceModel.Syndication
{
    /// <summary>
    /// Represents a Cmis entry.
    /// </summary>
    [DataContract(Name = "entry", Namespace = CmisNs.Cmisra)]
    public class CmisEntry
    {
        [DataMember(Name = "object", EmitDefaultValue = false)]
        public XElement @Object
        {
            get;
            set;
        }

        [DataMember(Name = "type", EmitDefaultValue = false)]
        public XElement @Type
        {
            get;
            set;
        }
    }
}
